<?php
//SESSIONS
session_start();
$testID = 1;
$num = 1;
$_SESSION['num'] = $num;
//$attempt =1;
//$_SESSION['attempt'] = $attempt;
$arrayAnswer = "";
$currentQuestion = $num; 
$questionOptions = "questionOptions";
//$studentID = 120;
$score = 0;
//$score =  $_SESSION['score'];

//DB CONNECTION
define("DB_HOST", "localhost");
define("DB_NAME", "dblr12aas");
define("DB_USER", "lr12aas");
define("DB_PASS", "u3CJFB4r");
$con = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME)or die
 ("Failed to connect to server: " . mysqli_connect_error());
return $con;
?>
